public class Booking
{
	private int seatNumber;
	private PassengerRole passenger;
	private SpecificFlight flight;
	
	public Booking(PassengerRole passenger, SpecificFlight flight, int seatNumber)
	{
		this.setPassenger(passenger);
		this.setFlight(flight);
		this.setSeatNumber(seatNumber);
	}

	public void setSeatNumber(int seatNumber)
	{
		this.seatNumber = seatNumber;
	}

	public int getSeatNumber()
	{
		return seatNumber;
	}

	public void setPassenger(PassengerRole passenger)
	{
		this.passenger = passenger;
	}

	public PassengerRole getPassenger()
	{
		return passenger;
	}

	public void setFlight(SpecificFlight flight)
	{
		this.flight = flight;
	}

	public SpecificFlight getFlight()
	{
		return flight;
	}
}
